﻿using System;
namespace Gx.Model.Entity
{
    /// <summary>
    /// 系统日志
    /// </summary>
    public partial class M_LogInfo
    {
        private int _logid;
        private byte _logtype;
        private string _url;
        private string _details;
        private string _logcontenr;
        private DateTime _addtime;
        public int LogId
        {
            get
            {
                return _logid;
            }
            set { _logid = value; }
        }
        public byte LogType
        {
            get
            {
                return _logtype;
            }
            set { _logtype = value; }
        }
        public string Url
        {
            get
            {
                if (_url == null)
                {
                    return "";
                }
                return _url;
            }
            set { _url = value; }
        }
        public string Details
        {
            get
            {
                if (_details == null)
                {
                    return "";
                }
                return _details;
            }
            set { _details = value; }
        }
        public string LogContenr
        {
            get
            {
                if (_logcontenr == null)
                {
                    return "";
                }
                return _logcontenr;
            }
            set { _logcontenr = value; }
        }
        public DateTime AddTime
        {
            get
            {
                if (_addtime == DateTime.MinValue)
                {
                    return DateTime.Parse("1911-01-01");
                }
                return _addtime;
            }
            set { _addtime = value; }
        }
    }
}
